CertificateErrorCallback

public interface CertificateErrorCallback implements BrowserAsyncCallback<P, R>

The callback is invoked when an SSL certificate error occurs during loading a web page. The passed Params object contains information about the problematic SSL certificate.

Use the allow method to allow the certificate and continue loading the web page.

Use the deny method to deny the certificate and continue loading the web page. An error page will be loaded. This is the default behavior.

Use the cancel method to cancel loading.

If the callback throws an exception, the deny method will be invoked.

Types

Link copied to clipboard
public final class Action extends AsyncCallbackAction<R>
An action providing a response to the CertificateErrorCallback.
Link copied to clipboard
public interface Params
The parameters of the CertificateErrorCallback.

Functions

Link copied to clipboard
public abstract void on(P params, R tell)
Invoked when the callback needs a response for the given callback parameters.